cmake_minimum_required(VERSION 3.17)
set(CMAKE_INSTALL_PREFIX /usr/local/bin)
project(robot_decode)
set(CMAKE_CXX_STANDARD 14)
find_package(gflags REQUIRED)
#add_compile_options(-fshort-enums)
#add_executable(robot_decode main.cpp )
#target_link_libraries(robot_decode gflags)
add_executable(robot_decode test_decode.cpp RobotDecode.cpp nav_io.cpp )
target_link_libraries(robot_decode gflags)
install(TARGETS robot_decode
        DESTINATION ${CMAKE_INSTALL_PREFIX}
        )
